﻿html, body {
    direction: rtl;
}

body {
    background: #f6f6ec url(../img/bg.png) left top;
    text-align: justify;
}

#container {
    background: #fff;
    font-size: 13px;
    width: 900px;
    padding: 2em 0;
    margin: 30px auto;
    position: relative;
    -webkit-border-radius: 12px; /* Saf3-4, iOS 1-3.2, Android <1.6 */
    -moz-border-radius: 12px; /* FF1-3.6 */
    border-radius: 12px; /* Opera 10.5, IE9, Saf5, Chrome, FF4, iOS 4, Android 2.1+ */
    -webkit-box-shadow: 0px 0px 10px #cdcdc3; /* Saf3.0+, Chrome */
    -moz-box-shadow: 0px 0px 10px #cdcdc3; /* FF3.5 - 3.6 */
    box-shadow: 0px 0px 10px #cdcdc3; /* Opera 10.5, IE9, FF4+, Chrome 10+ */
}

    #container div {
        padding: 1em 2em;
        -webkit-transition: background-color 0.3s ease-out; /* Saf3.2+, Chrome */
        -moz-transition: all 0.3s ease-out; /* FF4+ */
        -ms-transition: all 0.3s ease-out; /* IE10? */
        -o-transition: all 0.3s ease-out; /* Opera 10.5+ */
        transition: all 0.3s ease-out;
        position: relative;
        overflow: hidden;
        cursor: pointer;
    }

        #container div span {
            display: block;
            position: absolute;
            top: 0;
            left: 0;
            padding: 10px;
            font-weight: bold;
            color: #fff;
            background: #C00;
            font: bold 18px/1 "Times New Roman", Times, serif;
            -webkit-border-radius: 0 0 5px 0;
            -moz-border-radius: 0 0 5px 0;
            border-radius: 0 0 5px 0;
            display: none;
        }

        #container div:hover {
            background: #E6E6CA;
            text-shadow: 0 1px 0 #fff;
        }

            #container div:hover span {
                text-shadow: none;
                display: block;
            }

    #container h2 {
        font-size: 28px;
        margin-top: 5px;
    }
